import axios from '@/utils/request';

export function getLoadButtonIsShow(params) {
    return axios.post({
        url: '/config-notice/loadButtonIsShow',
        data: params
    }).then((res) => {
        return res
    })
}

export function getConfigNoticeList(params) {
    return axios.post({
        url: '/config-notice/list',
        data: params
    }).then((res) => {
        return res
    })
}

export function editConfigNotice(params) {
    return axios.post({
        url: '/config-notice/edit',
        data: params
    }).then((res) => {
        return res
    })
}

export function deleteConfigNotice(params) {
    return axios.post({
        url: '/config-notice/delete',
        data: params
    }).then((res) => {
        return res
    })
}

export function loadConfigNotice(params) {
    return axios.post({
        url: '/config-notice/load',
        data: params
    }).then((res) => {
        return res
    })
}

